package com.tinycomment.dbutils;

import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

/*
 *@author xiaoguang.gao@oracle.com
 *@version 2013-6-20 
 */
public class MySqlHelper extends SqlHelper{
	
	public MySqlHelper(){
		try {
			Class.forName("com.mysql.jdbc.Driver");
			this.connection = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/ACDB", "root", "xiaoguang");
			
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
